<template>
  <BasicModal
    v-bind="$attrs"
    @register="registerModal"
    show-footer
    width="100%"
    :default-fullscreen="true"
    title="充电终端详情"
  >
    <template #footer>
      <a-button @click="closeModal">关闭</a-button>
    </template>
     <YuPileList :stationId="stationId" />
  </BasicModal>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import { BasicModal, useModalInner } from '@/components/Modal';
import YuPileList from '@/views/admin/pile/yu_list.vue';
const stationId = ref();
const [registerModal, { closeModal }] =
useModalInner(async (data) => {
  debugger
    stationId.value = data.id;
});
</script>
